/*
 * @Author: your name
 * @Date: 2022-03-10 21:50:19
 * @LastEditTime: 2022-03-29 15:47:57
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \blog-system-front\src\Pages\index.js
 */
// /*
//  * @Author: your name
//  * @Date: 2022-02-07 15:49:42
//  * @LastEditTime: 2022-02-18 15:44:10
//  * @LastEditors: LAPTOP-L472H14P
//  * @Description: In User Settings Edit
//  * @FilePath: \blog_backStageSystem\blog_front\src\Pages\index.js
//  */
import React, { Component } from 'react'
import ContentHeader from '../Containers/ContentHeader'
import Main from '../Containers/main'
import ReactECharts from 'echarts-for-react'
export default class Home extends Component {
  option = {
    xAxis: {
      type: 'category',
      data: ['0', '1', '2', '3', '4', '5', '6'],
    },
    yAxis: {
      type: 'value',
    },
    series: [
      {
        data: [150, 230, 224, 218, 135, 147, 260],
        type: 'line',
      },
    ],
    title: {
      text: "发布博客数量"
    }
  }
  render() {
    return (
      <>
        <ContentHeader title="我的工作台"></ContentHeader>
        <Main>
          <ReactECharts option={this.option} title="发布趋势" />
        </Main>
      </>
    )
  }
}
